Simulation of photobiomodulation